﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Uct_Header.ascx.cs" Inherits="BatDongSan.Modules.Uct_Header" %>
<%@ Register src="Advertisement.ascx" tagname="Advertisement" tagprefix="uc1" %>
<div style="padding:5px 0px">
    <div style="float:left; width:248px;">
        <img src="../imgs/logo.png" />
    </div>
    <div style="float:right; width:752px;">
        <div align="right" style="padding: 0px 10px 5px 0px">
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <asp:Panel ID="pnLogin" runat="server">
                            <asp:HyperLink ID="hplLogin" runat="server" NavigateUrl="~/Login.aspx">Đăng nhập</asp:HyperLink> | 
                            <asp:HyperLink ID="hplRes" runat="server" NavigateUrl="~/Register.aspx">Đăng ký</asp:HyperLink> |
                        </asp:Panel>
                        <asp:Panel ID="pnName" runat="server">
                            <asp:HyperLink ID="hplUserName" runat="server"></asp:HyperLink> |
                            <asp:LinkButton ID="lkbLogout" runat="server" onclick="lkbLogout_Click">Thoát</asp:LinkButton> |
                        </asp:Panel>
                    </td>
                    <td>
                        <asp:Panel ID="Panel1" runat="server">
                            <asp:HyperLink ID="HyperLink1" NavigateUrl="~/DangTin.aspx" runat="server">Đăng tin mới</asp:HyperLink>
                        </asp:Panel>
                    </td>
                </tr>
            </table>     
        </div>
        <div align="right">
            <uc1:Advertisement ID="Advertisement1" runat="server" />
        </div>
    </div>
    <div style="clear:both"></div>
</div>